package com.soos.utils;

/**
 * Created with IntelliJ IDEA.
 * Description: 分布式锁接口
 * User: sfx
 * Date: 2023-06-28
 * Time: 21:48
 */
public interface ILOCK {

    //尝试获取锁
    boolean tryLock(long timeout);

    //释放锁
    void unlock();

}